﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="OrderDetail.aspx.cs" Inherits="Member_MyOrder_OrderDetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Chi tiet don dat hang</title>
    <link href="../../Pub/Css/AdminStyles.css" rel="stylesheet" type="text/css" />
    <link href="../../Pub/Css/CalendarStyles.css" rel="stylesheet" type="text/css" />
</head>
<body style="margin-top: 0px; margin-left: 0px; margin-right: 0px">
    <form id="form1" runat="server">
        <div>
            <div>
                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                    <tr>
                        <td>
                            <div id="printBody">
                                <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                    <tr>
                                        <td>
                                            <table border="0" bordercolor="#407db3" cellpadding="0" cellspacing="0" style="border-collapse: collapse"
                                                width="100%">
                                                <tr>
                                                    <td colspan="4" align="center" valign="top">
                                                        <asp:Label ID="lblTitle" runat="server" Text="" Font-Bold="True" Font-Size="14px"
                                                            Font-Names="Tahoma"></asp:Label></td>
                                                </tr>
                                                <tr>
                                                    <td align="right" colspan="4" valign="bottom">
                                                        <table border="0" cellpadding="0" cellspacing="0">
                                                            <tr>
                                                                <td align="left">
                                                                    Mã đơn hàng</td>
                                                                <td align="left" valign="middle" style="white-space: nowrap">
                                                                    :&nbsp;<asp:Label ID="lblMaDH" runat="server" Text="" Font-Bold="true"></asp:Label></td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4">
                                                        <table id="AutoNumber1" style="border-right: 1px solid; padding-right: 0px; border-top: 1px solid;
                                                            padding-left: 0px; padding-bottom: 0px; border-left: 1px solid; padding-top: 1px;
                                                            border-bottom: 1px solid; border-collapse: collapse" bordercolor="#111111" cellspacing="0"
                                                            cellpadding="2" width="100%" runat="server">
                                                            <tr>
                                                                <td nowrap style="padding-right: 4px; padding-left: 4px; padding-bottom: 2px; padding-top: 2px;
                                                                    border-bottom: 1px dotted; width: 95px; font-family: Tahoma,Arial,Helvetica,sans-serif;
                                                                    font-size: 12px;" align="left">
                                                                    Tên khách hàng</td>
                                                                <td align="left" colspan="3" nowrap="nowrap" style="padding-right: 4px; padding-left: 4px;
                                                                    padding-bottom: 1px; padding-top: 1px; border-bottom: 1px dotted; font-family: Tahoma,Arial,Helvetica,sans-serif;
                                                                    font-size: 12px;">
                                                                    :&nbsp;<asp:Label ID="lblTenKH" runat="server" Text=""></asp:Label></td>
                                                            </tr>
                                                            <tr>
                                                                <td nowrap style="padding-right: 4px; padding-left: 4px; padding-bottom: 2px; padding-top: 2px;
                                                                    border-bottom: 1px dotted; width: 95px; font-family: Tahoma,Arial,Helvetica,sans-serif;
                                                                    font-size: 12px;" align="left">
                                                                    Địa chỉ</td>
                                                                <td nowrap style="padding-right: 4px; padding-left: 4px; padding-bottom: 2px; padding-top: 2px;
                                                                    border-bottom: 1px dotted; font-family: Tahoma,Arial,Helvetica,sans-serif; font-size: 12px;"
                                                                    align="left">
                                                                    :&nbsp;<asp:Label ID="lblDiaChi" runat="server" Text=""></asp:Label></td>
                                                                <td nowrap style="padding-right: 4px; padding-left: 4px; padding-bottom: 2px; padding-top: 2px;
                                                                    border-bottom: 1px dotted; width: 114px; font-family: Tahoma,Arial,Helvetica,sans-serif;
                                                                    font-size: 12px;" align="left">
                                                                    Tỉnh, Thành Phố</td>
                                                                <td nowrap style="padding-right: 4px; padding-left: 4px; padding-bottom: 2px; padding-top: 2px;
                                                                    border-bottom: 1px dotted; font-family: Tahoma,Arial,Helvetica,sans-serif; font-size: 12px;"
                                                                    align="left">
                                                                    :&nbsp;<asp:Label ID="lblNoichon" runat="server" Text=""></asp:Label></td>
                                                            </tr>
                                                            <tr id="trTaxNo" runat="server">
                                                                <td nowrap style="padding-right: 4px; padding-left: 4px; padding-bottom: 2px; padding-top: 2px;
                                                                    border-bottom: 1px dotted; width: 95px; font-family: Tahoma,Arial,Helvetica,sans-serif;
                                                                    font-size: 12px;" align="left">
                                                                    Mã số thuế</td>
                                                                <td nowrap style="padding-right: 4px; padding-left: 4px; padding-bottom: 2px; padding-top: 2px;
                                                                    border-bottom: 1px dotted; font-family: Tahoma,Arial,Helvetica,sans-serif; font-size: 12px;"
                                                                    colspan="3" align="left">
                                                                    :&nbsp;<asp:Label ID="lblTaxNo" runat="server"></asp:Label></td>
                                                            </tr>
                                                            <tr>
                                                                <td nowrap style="padding-right: 4px; padding-left: 4px; padding-bottom: 2px; padding-top: 2px;
                                                                    border-bottom: 1px dotted; width: 95px; font-family: Tahoma,Arial,Helvetica,sans-serif;
                                                                    font-size: 12px;" align="left">
                                                                    Điện thoại</td>
                                                                <td nowrap style="padding-right: 4px; padding-left: 4px; padding-bottom: 2px; padding-top: 2px;
                                                                    border-bottom: 1px dotted; font-family: Tahoma,Arial,Helvetica,sans-serif; font-size: 12px;"
                                                                    align="left">
                                                                    :&nbsp;<asp:Label ID="lblSDT" runat="server" Text=""></asp:Label></td>
                                                                <td nowrap style="padding-right: 4px; padding-left: 4px; padding-bottom: 2px; padding-top: 2px;
                                                                    border-bottom: 1px dotted; font-family: Tahoma,Arial,Helvetica,sans-serif; font-size: 12px;
                                                                    width: 114px;" align="left">
                                                                    Email</td>
                                                                <td nowrap style="padding-right: 4px; padding-left: 4px; padding-bottom: 2px; padding-top: 2px;
                                                                    border-bottom: 1px dotted; font-family: Tahoma,Arial,Helvetica,sans-serif; font-size: 12px;"
                                                                    align="left">
                                                                    :&nbsp;<asp:Label ID="lblEmail" runat="server" Text=""></asp:Label></td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="right" colspan="4">
                                                        <asp:Label ID="lblUSD" runat="server"></asp:Label>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4">
                                                        <asp:GridView ID="grvMaster" runat="server" GridLines="Both" BorderStyle="Solid"
                                                            AutoGenerateColumns="False" Width="100%" BorderWidth="1px" BorderColor="#407db3"
                                                            OnRowDataBound="grvMaster_RowDataBound" CellPadding="2" CellSpacing="0">
                                                            <Columns>
                                                                <asp:TemplateField HeaderText="STT">
                                                                    <ItemStyle HorizontalAlign="Center" Width="2%" />
                                                                    <ItemTemplate>
                                                                        <%#Container.DataItemIndex + 1%>
                                                                    </ItemTemplate>
                                                                    <ItemStyle CssClass="cssBorderGrv" BorderWidth="1px" HorizontalAlign="Center" BorderStyle="Solid"
                                                                        BorderColor="#407db3" />
                                                                    <HeaderStyle CssClass="cssBorderGrv" BorderWidth="1px" BorderStyle="Solid" BorderColor="#407db3" />
                                                                </asp:TemplateField>
                                                                <asp:BoundField DataField="PDID" HeaderText="Mã Sản phẩm">
                                                                    <ItemStyle CssClass="cssBorderGrv" HorizontalAlign="Left" BorderWidth="1px" BorderStyle="Solid"
                                                                        BorderColor="#407db3" />
                                                                    <HeaderStyle CssClass="cssBorderGrv" BorderWidth="1px" BorderStyle="Solid" BorderColor="#407db3"
                                                                        Width="2%" Wrap="false" />
                                                                </asp:BoundField>
                                                                <asp:BoundField DataField="PDName" HeaderText="Tên sản phẩm">
                                                                    <ItemStyle CssClass="cssBorderGrv" HorizontalAlign="Left" BorderWidth="1px" BorderStyle="Solid"
                                                                        BorderColor="#407db3" />
                                                                    <HeaderStyle CssClass="cssBorderGrv" BorderWidth="1px" BorderStyle="Solid" BorderColor="#407db3"
                                                                        Width="35%" Wrap="false" />
                                                                </asp:BoundField>
                                                                <asp:BoundField DataField="Quantity" HeaderText="Số lượng">
                                                                    <ItemStyle HorizontalAlign="Center" CssClass="cssBorderGrv" BorderWidth="1px" BorderStyle="Solid"
                                                                        BorderColor="#407db3" />
                                                                    <HeaderStyle CssClass="cssBorderGrv" BorderWidth="1px" BorderStyle="Solid" BorderColor="#407db3"
                                                                        Width="4%" Wrap="false" />
                                                                </asp:BoundField>
                                                                <asp:BoundField DataField="Price" HeaderText="Đơn gi&#225;">
                                                                    <ItemStyle HorizontalAlign="Right" CssClass="cssBorderGrv" BorderWidth="1px" BorderStyle="Solid"
                                                                        BorderColor="#407db3" Wrap="false" />
                                                                    <HeaderStyle CssClass="cssBorderGrv" BorderWidth="1px" BorderStyle="Solid" BorderColor="#407db3"
                                                                        Width="15%" Wrap="false" />
                                                                </asp:BoundField>
                                                                <asp:BoundField DataField="Total" HeaderText="Th&#224;nh tiền (VNĐ)">
                                                                    <ItemStyle HorizontalAlign="Right" CssClass="cssBorderGrv" BorderWidth="1px" BorderStyle="Solid"
                                                                        BorderColor="#407db3" Width="15%" Wrap="false" />
                                                                    <HeaderStyle CssClass="cssBorderGrv" BorderWidth="1px" BorderStyle="Solid" BorderColor="#407db3"
                                                                        Wrap="false" />
                                                                </asp:BoundField>
                                                            </Columns>
                                                            <HeaderStyle Height="30px" Wrap="false" BorderWidth="1px" BorderStyle="Solid" BorderColor="#407db3"
                                                                BackColor="#f7f8f9" ForeColor="#000000" Font-Bold="true" />
                                                            <RowStyle BorderWidth="1px" BorderStyle="Solid" BorderColor="#407db3" Font-Names="Tahoma"
                                                                Font-Size="12px" />
                                                            <AlternatingRowStyle BackColor="snow" Font-Names="Tahoma" Font-Size="12px" />
                                                        </asp:GridView>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                    </td>
                                                    <td align="right" colspan="3" rowspan="2">
                                                        <table border="0" bordercolor="#407db3" cellpadding="2" cellspacing="0" style="border-collapse: collapse">
                                                            <tr>
                                                                <td align="right">
                                                                    <asp:Label ID="Label14" runat="server" Text="Tổng số lượng sản phẩm: " Font-Bold="True"></asp:Label>&nbsp;</td>
                                                                <td align="right" style="width: 30%">
                                                                    <asp:Label ID="lblTongsosach" runat="server" Font-Names="tahoma" Font-Size="12px"></asp:Label></td>
                                                                <td align="right">
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="right">
                                                                    <asp:Label ID="Label15" runat="server" Text="Tổng số tiền thanh toán: " Font-Bold="True"></asp:Label>&nbsp;</td>
                                                                <td align="right" style="width: 30%">
                                                                    <asp:Label ID="lblTongsotien" runat="server" Font-Names="tahoma" Font-Size="12px"></asp:Label></td>
                                                                <td align="right" style="font-size: 12px; font-family: tahoma">
                                                                    VNĐ</td>
                                                            </tr>
                                                        </table>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td align="center" colspan="4" rowspan="1">
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </form>
</body>
</html>
